package com.software.model;

import java.io.Serializable;

/**
 * 共用的  变量
 *  @author Thinkpad
 *
 */
public class PageModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3111218677434017862L;
	/** 总数据量 */
	private int totalNum;
	// 当前页
	private int pageNow;
	// 分页的 页数
	private int pageNo;
	/** 一页显示几件数据 */
	private int pageSize;
	//查询的排序字段
	private String orderKey;
	//查询的  输入 题目名字
	private String name;
	//查询的开始时间
	private String stattime;
	//查询的排序字段 升降顺序
	private String orderKeySort;
	//查询的结束时间
	private String endtime;
	//页面  div 的 返回类型
	private String  type;
	
	// 文字类型
	private Integer articleTp;
	
	// DB 主键
	private String ids;
	
	// 查询关键字
	private String searchKey="";
	
	// 帐号创建日期开始日
	private String createTimeBegin ="";
	
	// 帐号创建日期结束日
	private String createTimeEnd ="";
	
	// 第几行开始查询
	private int startLine;
	// 第几行结束
	private int totalLine;
	
	
	
	public int getTotalNum() {
		return totalNum;
	}
	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}
	public int getPageNo() {
		return pageNo;
	}
	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public String getOrderKey() {
		return orderKey;
	}
	public void setOrderKey(String orderKey) {
		this.orderKey = orderKey;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getStattime() {
		return stattime;
	}
	public void setStattime(String stattime) {
		this.stattime = stattime;
	}
	public String getEndtime() {
		return endtime;
	}
	public void setEndtime(String endtime) {
		this.endtime = endtime;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getOrderKeySort() {
		return orderKeySort;
	}
	public void setOrderKeySort(String orderKeySort) {
		this.orderKeySort = orderKeySort;
	}
	public int getPageNow() {
		return pageNow;
	}
	public void setPageNow(int pageNow) {
		this.pageNow = pageNow;
	}
	public Integer getArticleTp() {
		return articleTp;
	}
	public void setArticleTp(Integer articleTp) {
		this.articleTp = articleTp;
	}
	public String getIds() {
		return ids;
	}
	public void setIds(String ids) {
		this.ids = ids;
	}
	
	public String getSearchKey() {
		return searchKey;
	}
	public void setSearchKey(String searchKey) {
		this.searchKey = searchKey;
	}
	public String getCreateTimeBegin() {
		return createTimeBegin;
	}
	public void setCreateTimeBegin(String createTimeBegin) {
		this.createTimeBegin = createTimeBegin;
	}
	public String getCreateTimeEnd() {
		return createTimeEnd;
	}
	public void setCreateTimeEnd(String createTimeEnd) {
		this.createTimeEnd = createTimeEnd;
	}

	public int getStartLine() {
		return startLine;
	}
	public void setStartLine(int startLine) {
		this.startLine = startLine;
	}
	public int getTotalLine() {
		return totalLine;
	}
	public void setTotalLine(int totalLine) {
		this.totalLine = totalLine;
	}
	@Override
	public String toString() {
		return "PageModel [totalNum=" + totalNum + ", pageNow=" + pageNow
				+ ", pageNo=" + pageNo + ", pageSize=" + pageSize
				+ ", orderKey=" + orderKey + ", name=" + name + ", stattime="
				+ stattime + ", orderKeySort=" + orderKeySort + ", endtime="
				+ endtime + ", type=" + type + ", articleTp=" + articleTp
				+ ", ids=" + ids + ", searchKey=" + searchKey
				+ ", createTimeBegin=" + createTimeBegin + ", createTimeEnd="
				+ createTimeEnd + ", startLine=" + startLine + ", totalLine="
				+ totalLine + "]";
	}

	
	
}
